package com.youxin.busfoundation.bean;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * FileBeatBean JSON Bean
 * @author yingde.cao
 *
 */
public class FileBeatBean implements Serializable{
	
	private static final long serialVersionUID = 4575754675745L;
 
	
	@JSONField(name="@timestamp")
	private String timestamp;
	
	private BeatBean beat;
	private FieldsBean fields;
	
	@JSONField(name="input_type")
	private String inputType;
	private String message;
	private long offset;
	private String source;
	private String type;
	
	
	public String getTimestamp() {
		return timestamp;
	}


	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}


	public BeatBean getBeat() {
		return beat;
	}


	public void setBeat(BeatBean beat) {
		this.beat = beat;
	}


	public FieldsBean getFields() {
		return fields;
	}


	public void setFields(FieldsBean fields) {
		this.fields = fields;
	}


	public String getInputType() {
		return inputType;
	}


	public void setInputType(String inputType) {
		this.inputType = inputType;
	}


	public String getMessage() {
		return message;
	}


	public void setMessage(String message) {
		this.message = message;
	}


	public long getOffset() {
		return offset;
	}


	public void setOffset(long offset) {
		this.offset = offset;
	}


	public String getSource() {
		return source;
	}


	public void setSource(String source) {
		this.source = source;
	}


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {  
        return JSONObject.toJSONString(this);  
    }  
}
